using System;
using System.Collections.Generic;
using System.Text;

namespace emp.Model.SysManage
{
    public class SysMenuInfo : TreeInfo
    {
        private int iMenu_Sord;
        private string sIs_Valid;
        private int iCreator;

        public SysMenuInfo(int Item_ID, int Parent_Item_ID, string Item_Name, string Item_Desc)
            : base(Item_ID, Parent_Item_ID, Item_Name, Item_Desc)
        {

        }

        public SysMenuInfo(int Item_ID, int Parent_Item_ID, string Item_Name, string Item_Desc, string IsDel)
            : base(Item_ID, Parent_Item_ID, Item_Name, Item_Desc, IsDel)
        {
        }

        public SysMenuInfo(int Parent_Item_ID, string Item_Name, string Item_Desc)
            : base(Parent_Item_ID, Item_Name, Item_Desc)
        {
        }

        public SysMenuInfo(int Parent_Item_ID, string Is_Valid, string Item_Name, string Item_Desc, int Menu_Sord, string Link, string IsLeaf, int Creator)
        {
            this.sIs_Valid = Is_Valid;
            this.iParent_Node_ID = Parent_Item_ID;
            this.sNode_Name = Item_Name;
            this.sNode_Desc = Item_Desc;
            this.iMenu_Sord = Menu_Sord;
            this.sLink = Link;
            this.sIsLeaf = IsLeaf;
            this.iCreator = Creator;
        }

        public SysMenuInfo(int Item_ID, string Is_Valid, int Parent_Item_ID, string Item_Name, string Item_Desc, int Menu_Sord, string Link, string IsLeaf)
        {
            this.iNode_ID = Item_ID;
            this.sIs_Valid = Is_Valid;
            this.iParent_Node_ID = Parent_Item_ID;
            this.sNode_Name = Item_Name;
            this.sNode_Desc = Item_Desc;
            this.iMenu_Sord = Menu_Sord;
            this.sLink = Link;
            this.sIsLeaf = IsLeaf;
        }

        public int Menu_Sord
        {
            get { return iMenu_Sord; }
        }
        public string Is_Valid
        {
            get { return sIs_Valid; }
        }

        public int Creator
        {
            get { return this.iCreator; }
        }

    }
}
